Package com.cisco.pt.ipc.sim.impl
Class TelephonyServiceImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.TelephonyServiceImpl
- All Implemented Interfaces:
IPCObject,TelephonyService
Information provided by the PKI file:
\class CTelephonyService
\brief CTelephonyService handles and manipulates telephony services.
\example network().getDevice("Router0").getProcess("CMEProcess").getTelephonyService()
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionTelephonyServiceImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionintInformation provided by the PKI file:intgetAutoAssignStartDnAt(int index) Information provided by the PKI file:intgetAutoAssignStopDnAt(int index) Information provided by the PKI file:intInformation provided by the PKI file:intInformation provided by the PKI file:intInformation provided by the PKI file:booleanInformation provided by the PKI file:voidsetAutoAssign(int startTag, int stopTag) Information provided by the PKI file:voidsetAutoRegistration(boolean bVal) Information provided by the PKI file:voidsetMaxDnNumber(int maxDnNum) Information provided by the PKI file:voidsetMaxEphone(int maxEphNum) Information provided by the PKI file:voidsetSourcePort(int portNum) Information provided by the PKI file:voidsetSystemMessage(String msg) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Constructor Details
-
TelephonyServiceImpl
public TelephonyServiceImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
setAutoRegistration
public void setAutoRegistration(boolean bVal) Information provided by the PKI file:
\brief Enables or disables auto registration. \param bVal, true to enable auto registration.- Specified by:
setAutoRegistrationin interfaceTelephonyService- Parameters:
bVal- Takes in a parameter of bVal
-
isAutoRegEnabled
public boolean isAutoRegEnabled()Information provided by the PKI file:
\brief Returns true if auto registration is enabled, otherwise false. \return bool, true if auto registration is enabled, otherwise false.- Specified by:
isAutoRegEnabledin interfaceTelephonyService- Returns:
- boolean Returns a boolean
-
setMaxEphone
public void setMaxEphone(int maxEphNum) Information provided by the PKI file:
\brief Sets the maximum number of ephones. \param maxEphNum, the maximum number of ephones.- Specified by:
setMaxEphonein interfaceTelephonyService- Parameters:
maxEphNum- Takes in a parameter of maxEphNum
-
getMaxEphoneNumber
public int getMaxEphoneNumber()Information provided by the PKI file:
\brief Returns the maximum number of ephones. \return int, the maximum number of ephones.- Specified by:
getMaxEphoneNumberin interfaceTelephonyService- Returns:
- int Returns a int
-
setMaxDnNumber
public void setMaxDnNumber(int maxDnNum) Information provided by the PKI file:
\brief Sets the maximum number of directory numbers. \param maxDnNum, the maximum number of directory numbers.- Specified by:
setMaxDnNumberin interfaceTelephonyService- Parameters:
maxDnNum- Takes in a parameter of maxDnNum
-
getMaxDnNumber
public int getMaxDnNumber()Information provided by the PKI file:
\brief Returns the maximum number of directory numbers. \return int, the maximum number of directory numbers.- Specified by:
getMaxDnNumberin interfaceTelephonyService- Returns:
- int Returns a int
-
setSourcePort
public void setSourcePort(int portNum) Information provided by the PKI file:
\brief Sets the source port number. \param portNum, the source port number.- Specified by:
setSourcePortin interfaceTelephonyService- Parameters:
portNum- Takes in a parameter of portNum
-
getSourcePort
public int getSourcePort()Information provided by the PKI file:
\brief Returns the source port number. \return int, the source port number.- Specified by:
getSourcePortin interfaceTelephonyService- Returns:
- int Returns a int
-
setSystemMessage
Information provided by the PKI file:
\brief Sets the system message. \param msg, the system message.- Specified by:
setSystemMessagein interfaceTelephonyService- Parameters:
msg- Takes in a parameter of msg
-
setAutoAssign
public void setAutoAssign(int startTag, int stopTag) Information provided by the PKI file:
\brief Sets the auto assign directory numbers. \param startTag, the start directory numbers. \param stopTag, the stop directory numbers.- Specified by:
setAutoAssignin interfaceTelephonyService- Parameters:
startTag- Takes in a parameter of startTagstopTag- Takes in a parameter of stopTag
-
getAutoAssignCount
public int getAutoAssignCount()Information provided by the PKI file:
\brief Returns the number of auto assigned directory numbers. \return int, the number of auto assigned directory numbers.- Specified by:
getAutoAssignCountin interfaceTelephonyService- Returns:
- int Returns a int
-
getAutoAssignStartDnAt
public int getAutoAssignStartDnAt(int index) Information provided by the PKI file:
\brief Returns the auto assigned start directory number at the specified index. \param index, the index of the auto assigned start directory number of interest. \returns int, the auto assigned start directory number at the specified index.- Specified by:
getAutoAssignStartDnAtin interfaceTelephonyService- Parameters:
index- Takes in a parameter of index- Returns:
- int Returns a int
-
getAutoAssignStopDnAt
public int getAutoAssignStopDnAt(int index) Information provided by the PKI file:
\brief Returns the auto assigned stop directory number at the specified index. \param index, the index of the auto assigned stop directory number of interest. \returns int, the auto assigned stop directory number at the specified index.- Specified by:
getAutoAssignStopDnAtin interfaceTelephonyService- Parameters:
index- Takes in a parameter of index- Returns:
- int Returns a int
-